package infomation.view 
{
	import ui.infomation.CityInfo4UI;
	import vo.CastleVO;
	
	/**
	 * ...
	 * @author WLDragon 2014-03-19
	 */
	public class CityInfo4 extends CityInfo4UI 
	{
		
		public function CityInfo4() 
		{
			super();
			
		}
		
		public function update(castle:CastleVO,tx:int,ty:int):void
		{
			btGold.text = castle.gold.toString();
			btRice.text = castle.rice.toString();
			btTreasure.text = castle.treasure.toString();
			
			this.x = tx;
			this.y = ty;
		}
	}

}